//
//  NavigationController.swift
//  test
//
//  Created by admin on 2016/11/30.
//  Copyright © 2016年 Zhongshan Camry Electronic Company Limited. All rights reserved.
//

import UIKit

class NavigationController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        let image = UIImage.creatImage(color: UIColor(red: 1.0, green: 0, blue: 0, alpha: 0.0), size: CGSize(width: 1, height: 1))
        self.navigationBar.setBackgroundImage(image, for: .default)
        self.navigationBar.shadowImage = image
        self.navigationBar.isTranslucent = true
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}
